package com.prolestar.report.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.prolestar.common.annotation.Excel;
import com.prolestar.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 舆情上报对象 ps_publicsentiment_report
 * 
 * @author ruoyi
 * @date 2022-11-11
 */
public class PsPublicsentimentReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 舆情上报id */
    @Excel(name = "舆情上报id")
    private Long id;

    /** 上报舆情标题 */
    @Excel(name = "上报舆情标题")
    private String pstitle;

    /** 倾向性 */
    @Excel(name = "倾向性")
    private Long tendentiousness;

    /** 网址 */
    @Excel(name = "网址")
    private String linkUrl;

    /** 媒体类型 */
    @Excel(name = "媒体类型")
    private String mediaType;

    /** 来源网站 */
    @Excel(name = "来源网站")
    private String srcWebset;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 上报人 */
    @Excel(name = "上报人")
    private Long reportBy;

    /** 上报单位 */
    @Excel(name = "上报单位")
    private Long reportUnit;

    /** 上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 上报内容 */
    @Excel(name = "上报内容")
    private String reportContent;

    /** 状态：1=草稿；2=已上报；3=已处理；4=已退回；5=已删除； */
    @Excel(name = "状态：1=草稿；2=已上报；3=已处理；4=已退回；5=已删除；")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPstitle(String pstitle) 
    {
        this.pstitle = pstitle;
    }

    public String getPstitle() 
    {
        return pstitle;
    }
    public void setTendentiousness(Long tendentiousness) 
    {
        this.tendentiousness = tendentiousness;
    }

    public Long getTendentiousness() 
    {
        return tendentiousness;
    }
    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }
    public void setMediaType(String mediaType) 
    {
        this.mediaType = mediaType;
    }

    public String getMediaType() 
    {
        return mediaType;
    }
    public void setSrcWebset(String srcWebset) 
    {
        this.srcWebset = srcWebset;
    }

    public String getSrcWebset() 
    {
        return srcWebset;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setReportBy(Long reportBy) 
    {
        this.reportBy = reportBy;
    }

    public Long getReportBy() 
    {
        return reportBy;
    }
    public void setReportUnit(Long reportUnit) 
    {
        this.reportUnit = reportUnit;
    }

    public Long getReportUnit() 
    {
        return reportUnit;
    }
    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }
    public void setReportContent(String reportContent) 
    {
        this.reportContent = reportContent;
    }

    public String getReportContent() 
    {
        return reportContent;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pstitle", getPstitle())
            .append("tendentiousness", getTendentiousness())
            .append("linkUrl", getLinkUrl())
            .append("mediaType", getMediaType())
            .append("srcWebset", getSrcWebset())
            .append("releaseTime", getReleaseTime())
            .append("reportBy", getReportBy())
            .append("reportUnit", getReportUnit())
            .append("reportTime", getReportTime())
            .append("reportContent", getReportContent())
            .append("status", getStatus())
            .toString();
    }
}
